/*
 *
 * Saturn Framework Co.Limt
 * Copyright (c) 2012-2019 tanks, Inc. All rights reserved.
 */
 
package com.saturn.config.server.service;

import java.util.Map;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.saturn.config.server.base.entity.AppInfo;
import com.saturn.config.server.base.entity.AppVersion;

/**
 * <dl>
 *    <dt><b>Title:</b></dt>
 *    <dd>
 *    	none
 *    </dd>
 *    <dt><b>Description:</b></dt>
 *    <dd>
 *    	<p>配置历史版本
 *    </dd>
 *
 * @author tanks
 * @date 2019-07-08 15:58:42
 */
public interface AppVersionService extends IService<AppVersion> {

	 /**
     * 翻页查询
     *
     * @param page         翻页对象
     * @param queryWrapper 实体对象封装操作类 {@link com.baomidou.mybatisplus.core.conditions.query.QueryWrapper}
     */
    IPage<AppInfo> queryPage(IPage<AppInfo> page, Map<String,Object> params);
    
    /**
	 * 删除版本信息
	 * @param appInfos
	 * @return
	 */
	public int deleteAppVersion(String[] ids);
	
}
